package com.jp2p.admin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jp2p.admin.mapper.AdminUserMapper;
import com.jp2p.admin.service.AdminUserService;
import com.jp2p.entity.AdminUser;

@Service
public class AdminUserServiceImpl implements AdminUserService {
	@Autowired
	private AdminUserMapper adminUserMapper;

	@Override
	public AdminUser getAdminUser(int adminUserId) {
		
		return adminUserMapper.getAdminUserById(adminUserId);
	}

}
